﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%: ViewBag.Message %></h2>
    <p>
       <h3>Random Number Service (DEVELOPMENT ONLY) v3</h3>
       The 'Random Number Service' allows the gaming engine to generate a set of random number using the centralised service.<br />
       The service provides a RESTful interface to generate the random numbers.<br />
       <br />
       Below is shown an example of the URI format for the service which will return a set of random numbers.
       <br />
       <br />
       http://<b>{server}</b>/<b>{service}.svc</b>/<b>{host}</b>/<b>{game}</b>/<b>generate</b><b>[$format=[xml/json]</b><br />
       <b>min</b>={min}<br />
       <b>max</b>={max}<br />
       <b>length</b>={length}<br />
       <b>unique</b>={unique}<br />
       <b><i>amount</i></b>={amount}<br />
       </p>
       <br />
       <br />
       <a href="../../RandomNumber.svc/1/2/generate?min=1&max=5&length=7&unique=false&amount=3">../1/2/generate?min=1&max=5&length=7&unique=false&amount=3</a>&nbsp;&nbsp;<b>default:</b>$format=json</b><br /><br />
       <a href="../../RandomNumber.svc/1/2/generate$format=json?min=1&max=5&length=7&unique=false&amount=3">../1/2/generate$format=json?min=1&max=5&length=7&unique=false&amount=3</a><br />       
       <a href="../../RandomNumber.svc/1/2/generate$format=xml?min=1&max=5&length=7&unique=false&amount=3">../1/2/generate$format=xml?min=1&max=5&length=7&unique=false&amount=3</a><br />
       <br />
       <a href="../../RandomNumber.svc/1/2/generate?min=1&max=5&length=7&unique=false&amount=3">../1/2/generate?min=1&max=5&length=7&unique=false&amount=3</a>&nbsp;&nbsp;<b>default:</b>$format=json</b><br /><br />
       <a href="../../RandomNumber.svc/1/2/generate$format=json?min=1&max=5&length=7&unique=false&amount=3">../1/2/generate$format=json?min=1&max=5&length=7&unique=false&amount=3</a><br />       
       <a href="../../RandomNumber.svc/1/2/generate$format=xml?min=1&max=5&length=7&unique=false&amount=3">../1/2/generate$format=xml?min=1&max=5&length=7&unique=false&amount=3</a><br />
       <br />
       <hr />
       <h2>Progressive Jackpot Service</h2>
       The 'Progressive Jackpot Service' allows the gaming engine to discover a list of 'Progressive Jackpot Funds' to which a play could win.  
       The service also provides a method to record/play out the 'Progressive Jackpot' for a given game stake or stake(s); returning the outcome
       of the 'Progressive Jackpot Play'<br />       
       <br />
       <br />
       <h3>Progressive Jackpot Discovery</h3>
       The 'discover' method has a RESTful interface and queries the status of the 'Progressive Jackpot Funds' in the preferred currency.<br />
       <b>NOTE:</B> It is possible that a call to this service may return no data; if a host/game/currency has no Progressive Jackpot assigned.<br />
       <br />
       Below is shown an example of the URI format for the service which will return the  'Progressive Jackpot Funds' status detail.
       <br />
       <br />
       http://<b>{server}</b>/<b>{service}.svc</b>/<b>{host}</b>/<b>{game}</b>/<b>{symbol}</b>/<b>discover</b>
       <br />
       <br />
       <a href="../../ProgressiveJackpot.svc/HOST01/BigBrotherSlots/GBP/discover">../1/2/HOST01/BigBrotherSlots/GBP/discover</a>&nbsp;&nbsp;<b>default:</b>$format=json</b><br /><br />
       <a href="../../ProgressiveJackpot.svc/HOST01/BigBrotherSlots/GBP/discover$format=json">../HOST01/BigBrotherSlots/GBP/discover$format=json</a><br />       
       <a href="../../ProgressiveJackpot.svc/HOST01/BigBrotherSlots/GBP/discover$format=xml">../HOST01/BigBrotherSlots/GBP/discover$format=xml</a><br />
       <br />
       <br />
       <h2>Progressive Jackpot Play</h2>
       <br />
       <br />
       http://<b>{server}</b>/<b>{service}.svc</b>/<b>{host}</b>/<b>{game}</b>/<b>{symbol}</b>/<b>{volume}</b><b>play</b>
       <br />
       <br />
       <a href="../../ProgressiveJackpot.svc/HOST01/BigBrotherSlots/GBP/play?volume=15.00">../HOST01/BigBrotherSlots/GBP/play?volume=15.00</a>&nbsp;&nbsp;<b>default:</b>$format=json</b><br /><br />
       <a href="../../ProgressiveJackpot.svc/HOST01/BigBrotherSlots/GBP/play$format=json?volume=15.00">../HOST01/BigBrotherSlots/GBP/play$format=json?volume=15.00</a><br />       
       <a href="../../ProgressiveJackpot.svc/HOST01/BigBrotherSlots/GBP/play$format=xml?volume=15.00">../HOST01/BigBrotherSlots/GBP/play$format=xml?volume=15.00</a><br />
    </p>
</asp:Content>

